//找回密码
function findPassword(){
    $.ajax({
        type:"post",
        url:"http://127.0.0.1:8082/handleFindPassword",
        dataType:"json",
        async:false,
        cache:false,
        data:JSON.stringify({
            "account":$("#account").val(),
            "password": ""
        }),
        contentType: "application/json;charset=UTF-8",//指定消息请求类型
        success: function (data) {
            alert(data.msg)
            window.location.replace("http://localhost:8082/toFindPassword");
        }
    })
}
function toLogin(){
    window.location.replace("http://localhost:8082/tologin");
}

